<script setup>
import * as AboutApi from "~/composables/about.js";


const { data, pending, refresh } = await AboutApi.getFaqList()
const sx = async () => {
  if (!pending)
    await refresh()
}
</script>
<template>
  <div>
    <el-button @click="sx" :disabled="pending" type="primary">
      {{ pending ? '加载中...' : '刷新' }} <svg-icon name="car" color="red" size="24" ></svg-icon>
    </el-button>

    <pre>
      {{ data }}
    </pre>
  </div>
</template>
